
package com.xwyzsn.rentcar.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xwyzsn.rentcar.entity.Car;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface CarMapper  extends BaseMapper<Car> {

    List<Car> getAll();
    List<Car> getOne(Integer id);
    Integer updateOne(Car car);
    Boolean deleteOne(Integer id);
    Boolean addOne(Car car);
}
